package dimensional.traveler.shared;

import java.io.Serializable;

public class LoginInfo implements Serializable {

	private static final long serialVersionUID = 4832092664864168516L;
	private boolean loginSuccessful;
	private String errorMessage;
	
	public LoginInfo(){
		this.loginSuccessful = true;
	}
	
	public LoginInfo(String errorMessage) {
		this.loginSuccessful = false;
		this.errorMessage = errorMessage;
	}

	public boolean loginSuccessful(){
		return this.loginSuccessful;
	}
	
	public String getErrorMessage() {
		return errorMessage;
	}

}
